package com.demo.designmode.decorator;

/**
 * @Author: jxm
 * @Description: 炒面
 * @Date: 2023-12-13 14:02
 * @Version: 1.0
 */
public class FriedNoodles extends FastFood{

    public FriedNoodles() {
        super(15, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
